@model List<CrazyToDo.Web.Models.MatterViewModel>
    @{
        Layout = null;
    }

    @foreach (var item in Model)
    {
        if (item.State == true)
        {
            <div class="input-group" style="height:40px;padding-left:25px;padding-top:15px;">
                <span class="input-group-addon" style="height:40px;">
                    <input id="check" type="checkbox" checked="checked" onclick="changeStateInMatter(@item.Id)" style="height:22px;width:22px;">
                </span>
                
                <p type="text" id="detailed-information" style="border:1px solid #BCB8B8;width:992px;height:40px;font-size:16px; text-decoration:line-through;float:none;padding-top:11px;" class="form-control" onclick="details(@item.Id)">
                    @item.Content
                </p>
                <span class="input-group-addon" style="height:40px; width:50px;float:none;">
                    <img src="~/Home/img/删除(1).png" class="delete" onclick="DeleteMatterInMatter(@item.Id)" />
                </span>
            </div>

        }
        else
        {
            <div class="input-group" style="height:40px;padding-left:25px;padding-top:15px;">
                <span class="input-group-addon" style="height:40px;">
                    <input id="check" type="checkbox" onclick="changeStateInMatter(@item.Id)" style="height:22px;width:22px;">
                </span>
                
                <p type="text" id="detailed-information" style="border:1px solid #BCB8B8;width:992px;height:40px;font-size:16px;float:none;padding-top:11px;" class="form-control" onclick="details(@item.Id)">
                    @item.Content
                </p>
                <span class="input-group-addon" style="height:40px; width:50px;float:none;">
                    <img src="~/Home/img/删除(1).png" class="delete" onclick="DeleteMatterInMatter(@item.Id)" />
                </span>
            </div>

        }

    }
